/**
 * 接口返回结果Types
 * --------------------------------------------------------------------------
 */
// 字典接口返回结果
export interface IDictData {
	guid: string //主键
	typeCode: string // 字典类型编码
	code: string //字典编码
	dictName: string // 字典值
	orderNum: number // 排序
	mark: string // 备注
	createTime: string // 创建时间
}

/**
 * 接口参数Types
 * --------------------------------------------------------------------------
 */
// 字典请求分页参数
export interface IDictParams {
	pageNo: number
	pageSize: number
	typeCode: string | number
}

/**
 * 接口定义Types
 * --------------------------------------------------------------------------
 */
export interface ICommonApi {
	getDictPage: (params: IDictParams) => Promise<StoreState.ResPage<IDictData>>
	deleteDict: (params: { code: string }) => Promise<StoreState.ResType<string>>
}
